package com.itheima.day01.ZuoYe.ZuoYe3_5;

public class Test {
    public static void main(String[] args) {
        Student s1 = new Student("MFC",19,99);
        Student s2 = new Student("LQQ",20,80);
        Teacher t1 = new Teacher("WT",33,"SHUXUE");
        Teacher t2 = new Teacher("WW",31,"YUWEN");
        s1.showMsg();
        s2.showMsg();
        t1.showMsg();
        t2.showMsg();
        s1.exam();
        t1.teachmethod();
    }


}
